<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<!-- For local resoure bundle: -->
<!-- <f:loadBundle var="msg" basename="org.ahmet.messages"></f:loadBundle> -->

<h:body>
	<h2>This is pageForResources.xhtml</h2>

	<ol>

		<li><h:outputText value="#{msg.message}" /></li>

		<li><h:outputText value="#{msg['message.test1']}" /></li>

		<li><h:outputText value="#{msg['message.test2']}" /></li>
		<li><h:outputText value="#{msg['message.test2']}" escape="false" /></li>

		<li><h:outputText value="#{msg['message.test3']}" /></li>
		<li><h:outputText value="#{msg['message.test3']}" escape="false" /></li>

		<li><h:outputFormat value="#{msg['message.param1']}">
				<f:param value="param0" />
			</h:outputFormat></li>
		<li><h:outputFormat value="#{msg['message.param2']}" style="color: yellow;">
				<f:param value="param0" />
				<f:param value="param1" />
			</h:outputFormat></li>
	</ol>

</h:body>
</html>